<?php
/* @var $this HomemadeController */
/* @var $data Homemade */

?>
<?php $this->pageTitle=Yii::t('content',$data->title,array(),'db_i18n')?>
<div class="view">
 <div class="span2">
   <img class="imgresult" src="/uploads/<?php echo CHtml::encode($data->img1); ?>"/>
    </div>
    <div class="span2">
        <b><?php echo Yii::t('content',CHtml::encode($data->title),array(),'db_i18n'); ?></b>
	<br />

	<br />

	

	<b><?php echo CHtml::encode($data->getAttributeLabel('date_add')); ?>:</b>
	<?php echo CHtml::encode($data->date_add); ?>
	<br />
    </div>
    <div class="span2 right">
        
        <a class="btn btn-success" href="<?php echo Yii::app()->createUrl('homemade/view',array('id'=>$data->id,'slug' => $this->createSlug($this->pageTitle))) ?>"><i class="icon-white icon-search"></i> <?php echo Yii::t('content', 'Detalhes') ?></a>
    </div>
	 <div class="clear"></div>

	<?php /*
	<b><?php echo CHtml::encode($data->getAttributeLabel('date_expire')); ?>:</b>
	<?php echo CHtml::encode($data->date_expire); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('amount')); ?>:</b>
	<?php echo CHtml::encode($data->amount); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('img1')); ?>:</b>
	<?php echo CHtml::encode($data->img1); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('img2')); ?>:</b>
	<?php echo CHtml::encode($data->img2); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('img3')); ?>:</b>
	<?php echo CHtml::encode($data->img3); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('img4')); ?>:</b>
	<?php echo CHtml::encode($data->img4); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('img5')); ?>:</b>
	<?php echo CHtml::encode($data->img5); ?>
	<br />

	*/ ?>

</div>